/**
 * Copyright (C), 2015-2019, XXX有限公司
 * FileName: PayChannelProxy
 * Author:   zhouheng
 * Date:     2019/5/15 11:19
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.star.pay.service.core.processor.channel;

import com.star.pay.service.core.processor.context.PaymentContext;

import java.util.HashMap;
import java.util.Map;

/**
 * 〈一句话功能简述〉<br> 
 * 〈〉
 *
 * @author zhouheng
 * @create 2019/5/15
 * @since 1.0.0
 */
public interface PayChannelProxy {
    Map<String, PayChannelProxy> payChannelMap = new HashMap<String, PayChannelProxy>();

   /**
    * @description:  执行预先校验逻辑
    * @date: 2019/5/15 12:06
    * @author:zhouheng
    */
    boolean preCheck(PaymentContext paymentContext);


    boolean paymentProcess(PaymentContext paymentContext);
}